#include "head.h"

void sendCommand(int net_fd, char *path) {
    train_t train;
    memset(&train, 0, sizeof(train));
    train.len = strlen(path);
    send(net_fd, &train.len, sizeof(int), MSG_NOSIGNAL);
    send(net_fd, path, train.len, MSG_NOSIGNAL);
    return;
}

